Bank Account Inquiry
Berfungsi untuk melakukan pengecekan bank inquiry
Service Info
HTTP Method | POST |
---|---|
Service Code | 42 |
Http Method | POST |
Path | .../{version}/emoney/bank-account-inquiry |
Header
Header Name | Tipe Data | Wajib | Deskripsi |
---|---|---|---|
Content-Type | String | Y | application/json |
Authorization | String | Y | Token B2B |
Authorization-Customer | String | Y | Token B2B2C |
X-SIGNATURE | String | Y | Dibuat dengan algoritma asymmetric with token B2B2C : Signature Generation |
X-PARTNER-ID | String | Y | Client’s client_id (diberikan pada saat onboarding ) |
X-EXTERNAL-ID | String | Y | Nomor referensi yang harus unik pada hari yg sama |
CHANNEL-ID | String | Y | 00001 untuk PJP and 00002 untuk non PJP |
Body
Parameter | Tipe Data | Wajib | Deskripsi |
---|---|---|---|
partnerReferenceNo | String | Y | Pengidentifikasi transaksi pada sistem konsumen layanan Length: <= 64 karakter |
customerNumber | String | Y | Nomor Akun Pelanggan Length: <= 32 karakter |
amount | Object | Y | Jumlah |
beneficiaryAccountNumber | String | Y | Nomor rekening penerima Length: <= 32 karakter |
additionalInfo | Object | Y | Informasi Tambahan |
notes | Object | N | Deskripsi |
beneficiaryBankName | Object | Y | Nama Bank |
bankAccountName | Object | Y | Nama Penerima |
merchantId | String | Y | Kode unik yang dimiliki setiap user Length: <= 64 characters |
beneficiaryBankCode | String | Y | Kode bank Lenght: <= 8 karakter |
Request samples
- JSON
- CURL
{
"partnerReferenceNo": "51241245123124123",
"customerNumber": "0812xxxxxxxx",
"beneficiaryAccountNumber": "14200xxxxxxxx",
"amount": {
"value": "10000.00",
"currency": "IDR"
},
"additionalInfo": {
"notes": "WITHDRAWAL",
"beneficiaryBankName": "MANDIRI",
"bankAccountName": "ROSIDI DRAGON",
"merchantId": "121xxxx",
"beneficiaryBankCode": "014"
}
}
curl --location --request POST '.../v1.0/emoney/bank-account-inquiry' \
--header 'X-TIMESTAMP: 2023-01-25T11:47:00+07:00' \
--header 'X-SIGNATURE: RwABEherf+3MTBhIf6vtju6ko+YOFFKWLGgHCD5RwX1I17JCKVn8ffc/TenEIly85InhuIcKCDqDrxbIBhaKEg==' \
--header 'X-PARTNER-ID: 085224a9-4b42-4f7d-959f-4452f8a9a1ff' \
--header 'X-EXTERNAL-ID: f568600a-09f5-45ac-9576-4a130037b7c8' \
--header 'X-DEVICE-ID: android-20013adf6cdd8123f' \
--header 'CHANNEL-ID: 12345' \
--header 'Authorization: Bearer bb005fcb-dea9-499a-9e7a-bcf651b2334e' \
--header 'Authorization-Customer:Bearer 5b8bbaf8-4aca-4072-9ea8-d85bed65105f' \
--header 'Content-Type: application/json' \
--data '{
"partnerReferenceNo": "51241245123124123",
"customerNumber": "0812xxxxxxxx",
"beneficiaryAccountNumber": "14200xxxxxxxx",
"amount": {
"value": "10000.00",
"currency": "IDR"
},
"additionalInfo": {
"notes": "WITHDRAWAL",
"beneficiaryBankName": "MANDIRI",
"bankAccountName": "ROSIDI DRAGON",
"merchantId": "1213798",
"beneficiaryBankCode": "014"
}
}'
Response Structure
Parameter | Tipe Data | Deskripsi |
---|---|---|
responseCode | String | Kode respons Length: <= 7 karakter |
responseMessage | String | Deskripsi respons Length: <= 150 karakter |
referenceNo | String | Kode Transaksi Length: <= 64 karakter |
beneficiaryAccountNumber | String | Nomor rekening tujuan Length: <= 32 karakter |
beneficiaryAccountName | String | Nama penerima tujuan Length: <= 64 karakter |
beneficiaryBankCode | String | Kode bank Length: <= 8 karakter |
beneficiaryBankName | String | Nama bank Length: <= 25 karakter |
amount | Object | Jumlah |
additionalInfo | Object | Informasi Tambahan |
transactionCode | Object | Kode Tranasksi Inquiry |
Response samples
{
"responseCode": "2004200",
"responseMessage": "Successful",
"referenceNo": "5037040",
"beneficiaryAccountNumber": "14200xxxxxxxx",
"beneficiaryAccountName": "ROSIDI DRAGON",
"beneficiaryBankCode": "008",
"beneficiaryBankName": "BANK MANDIRI",
"amount": {
"value": "10000.00",
"currency": "IDR"
},
"additionalInfo": {
"transactionCode": "88175037"
}
}
List Response Code API Transfer to Bank - Account Inquiry
Response Code | Response Message | Description |
---|---|---|
2004200 | Success | Sukses |
4004201 | Invalid field format { field name } | Format invalid |
4004202 | Invalid mandatory field {field name} | Format pada bidang wajib tidak ada atau tidak valid |
4014200 | Unauthorized. Invalid Signature | X-Signature salah |
4094200 | Cannot use same X-EXTERNAL-ID in same day | X-External-ID sudah pernah digunakan di hari yang sama |
4042201 | Bad Request | Request header ada yang salah / kurang |
4042201 | Unauthorized. Client Forbidden Access API | Partner tidak dapat mengakses api terkait |